/* =========================================================
   1. VARIABLES, RESET Y ESTILOS BASE
   ========================================================= */
:root {
    --primary: #1B367A;
    --primary-dark: #7D1A9E;
    --text: #0e1218;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --naranja: #F96D1A;
    --verde: #36B242;
    --cyan: #00AEEF;


}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================================
   2. COMPONENTES GLOBALES (Botones)
   ========================================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================================================
   3. CABECERA (HEADER) Y NAVEGACIÓN
   ========================================================= */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo img {
    height: 95px; 
    width: auto; 
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover { color: var(--naranja); }

/* =========================================================
   4. SECCIÓN HERO
   ========================================================= */
.hero {
    padding: 100px 2rem 80px;
    background: linear-gradient(180deg, #EFF6FF 0%, var(--white) 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #111827;
}

.hero span { color: var(--primary); }

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* =========================================================
   5. SECCIÓN BENEFICIOS (Features)
   ========================================================= */
.features {
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: #EFF6FF;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* =========================================================
   6. SECCIÓN CANALES
   ========================================================= */
.channels-section {
    text-align: center;
    padding: 60px 20px;
    background: #F3F4F6;
}

.channels-icons {
    font-size: 3rem;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.channels-icons a {
    transition: transform 0.3s;
}

.channels-icons a:hover {
    transform: scale(1.1);
}

/* Nota: Los colores específicos de los íconos de redes sociales se dejan con estilo en línea en el HTML para mantener la marca. */

/* =========================================================
   7. SECCIÓN CONTACTO
   ========================================================= */
.contact-section {
    background-color: var(--bg-light);
    padding: 100px 2rem;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    background: var(--naranja);
    color: white;
    padding: 3rem;
    flex: 1;
    min-width: 300px;
}

.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; opacity: 0.9; }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-item i { margin-right: 15px; font-size: 1.2rem; }

.contact-form-wrapper {
    padding: 3rem;
    flex: 1.5;
    min-width: 300px;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

button[type="submit"] {
    width: 100%;
    background-color: var(--naranja);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover { background-color: var(--primary-dark); }

/* =========================================================
   8. FOOTER
   ========================================================= */
footer {
    background: #111827;
    color: var(--white);
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-socials {
    margin-top: 1rem;
}

.footer-socials a {
    color: white;
    font-size: 1.2rem;
    margin: 0 10px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-socials a:hover { opacity: 1; }

/* =========================================================
   9. RESPONSIVIDAD (Media Queries)
   ========================================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    /* Ocultar navegación en móvil (patrón común) */
    .nav-links { display: none; }
    
    /* Apilar las secciones de contacto verticalmente */
    .contact-container { flex-direction: column; }
    
    .contact-info, .contact-form-wrapper {
        min-width: 100%;
        padding: 2rem; 
    }
}